home *** CD-ROM | disk | FTP | other *** search
/ AGA Toolkit '97 / The AGA Toolkit '97.iso / programming / c / smc2cweb / src / smakefile < prev   
Encoding:
Makefile  |  1996-09-07  |  670 b   |  44 lines

  1. # SMakefile for C2CWEB
  2.  
  3. # Compiler
  4.  
  5. CC=sc:c/sc
  6. LINK=sc:c/sc link
  7.  
  8. # CWEB
  9.  
  10. CTANGLE=tex:bin/ctangle
  11. CWEAVE=tex:bin/cweave
  12.  
  13. # TEX
  14. #
  15. # Use the bin directory if you do not use BigTeX
  16. #
  17. #TEX=tex:bin/virtex
  18. TEX=tex:bigbin/virtex
  19.  
  20. all: c2cweb
  21.  
  22. c2cweb: c2cweb.o getopt.o alloca.o
  23.    $(LINK) c2cweb.o getopt.o alloca.o to=c2cweb
  24.  
  25. # must be performed twice to get Index and Contents in the dvi
  26. documentation: c2cweb.tex
  27.    $(TEX) c2cweb.tex
  28.    $(TEX) c2cweb.tex
  29.  
  30. c2cweb.tex: c2cweb.w
  31.    $(CWEAVE) c2cweb.w
  32.  
  33. c2cweb.c: c2cweb.w
  34.    $(CTANGLE) c2cweb.w
  35.  
  36. c2cweb.o: c2cweb.c getopt.h
  37.    $(CC) c2cweb.c
  38.  
  39. getopt.o: getopt.c getopt.h
  40.    $(CC) getopt.c
  41.  
  42. alloca.o: alloca.c
  43.    $(CC) alloca.c
  44.